
<%@taglib uri="/struts-tags" prefix="s" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title><s:property value="#session.nomEntreprise"/> </title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <link href="ressources/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="ressources/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
        <link href="ressources/css/font-awesome.min.css" rel="stylesheet">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600" rel="stylesheet">
        <link href="ressources/css/ui-lightness/jquery-ui-1.10.0.custom.min.css" rel="stylesheet">    
        <link href="ressources/css/base-admin-2.css" rel="stylesheet">
        <link href="ressources/css/base-admin-2-responsive.css" rel="stylesheet">
        <link href="ressources/css/pages/signin.css" rel="stylesheet" type="text/css">
        <link href="ressources/css/custom.css" rel="stylesheet">
        <link href="ressources/css/pages/dashboard.css" rel="stylesheet"> 

    </head>
    <body>

        <s:include value="Commun/MenuEntreprise.jsp"/>

        <s:div cssClass="main">
            <s:div cssClass="container">
                <s:div cssClass="row">
                    <s:div cssClass="span8">      		
                        <s:div cssClass="widget stacked ">
                            <s:div cssClass="widget-header">
                                <i Class="icon-user"></i>
                                <h3><s:property value="#session.nomEntreprise"/></h3>
                            </s:div>

                            <s:div cssClass="widget-content">
                                <s:form action="ajoutOffre" method="post" validate="true">
                                    <fieldset>
                                        <s:div cssClass="login-fields">
                                            <p><s:text name="label.renseignerChamps"></s:text> </p>
                                            <input type="hidden" id="idEntreprise"name="idEntreprise" value="<s:property value="#session.idEntreprise"/>">
                                            <s:div cssClass="field">
                                                <label for="titreOffre"><s:text name="label.titreOffre"></s:text></label>
                                                <input type="text" id="titreOffre" name="titreOffre" value="" placeholder="<s:text name="label.titreOffre"/>" class="login username-field" />
                                                <s:fielderror fieldName="titreOffre" />
                                            </s:div>
                                            <s:div cssClass="field">
                                                <label for="descriptionOffre"><s:text name="label.descriptionOffre"></s:text></label>
                                                <textarea id="contenuArticle" name="descriptionOffre" cols="110" rows="10" placeholder="<s:text name="label.descriptionOffre"/>" ></textarea>
                                                <s:fielderror fieldName="descriptionOffre" />
                                            </s:div>
                                        </s:div> 
                                        <s:div cssClass="form-actions">
                                            <button type="submit" class="btn btn-primary"><s:text name="bouton.ajouter"></s:text></button>
                                            <a class="btn"  href="<s:url action="AccueilEntreprise"/>"><s:text name="bouton.annuler"></s:text></a>

                                        </s:div>
                                    </fieldset> 
                                </s:form>
                            </s:div> 
                        </s:div> 
                    </s:div>
                </s:div> 
            </s:div>
        </s:div> 
        <s:include value="Commun/Footer.jsp"/> 
    </body>
</html>

